﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HPPClientUI
{
    public class MyFormBase : Form
    {
        protected void SafeInvoke(Action setAction)
        {
            if (InvokeRequired)
            {
                this.BeginInvoke(setAction);
            }
            else
            {
                setAction();
            }
        }
    }
}
